Refactor OSV-Scanner workflow for improved scanning efficiency#38
Merged
Refactor OSV-Scanner workflow for improved scanning efficiency#38
Conversation
Updated OSV-Scanner workflow to streamline scanning on push and pull request events.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Pull request overview
Adds an OSV-Scanner GitHub Actions workflow to perform dependency vulnerability scans on pushes and PR-related events, complementing existing code scanning in the repository.
Changes:
- Introduces a new
OSV-Scannerworkflow triggered onpush,pull_request, andmerge_groupformain. - Runs OSV scanning via Google’s pinned reusable workflows for push vs PR contexts.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
Contributor
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new workflow for automated vulnerability scanning using OSV-Scanner. The workflow is designed to run on pull requests, merge groups, and pushes to the
mainbranch, helping to identify security issues early and integrate with existing dependency management tools like Dependabot.Security automation:
.github/workflows/osv-scanner.ymlto enable OSV-Scanner scans for vulnerabilities on PRs, merge groups, and pushes tomain, uploading results to the security tab.Integration and usability:
osv-scanner-reusable.ymlandosv-scanner-reusable-pr.yml) for both push and PR events, ensuring consistent and up-to-date scanning..gitdirectory for efficiency.Updated OSV-Scanner workflow to streamline scanning on push and pull request events.